<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面布局3</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        body {
            font-size: 14px;
        }

        #container {
            margin: 0 auto;
            width: 1000px;
            height: 500px;
            /* background-color: aqua; */
        }

        #header {
            height: 100px;
            background-color: bisque;
            margin-bottom: 5px;
        }

        #main {
            height: 500px;
            margin-bottom: 5px;
        }

        #footer {
            height: 50px;
            background-color: bisque;
        }

        #aside {
            float: left;
            width: 300px;
            height: 500px;
            background-color: gray;
        }

        #content {
            float: right;
            width: 695px;
            height: 500px;
            background-color: aquamarine;
        }
    </style>
</head>

<body>
    <div id="container">
        <div id="header"></div>
        <div id="main">
            <div id="aside"></div>
            <div id="content"></div>
        </div>
        <div id="footer"></div>
    </div>
</body>

</html>